package edu.cdtu.dependency;

public class A {
    private IB b;

    public A(IB ib){
        b = ib;
    }

    public void MethodA(){
        b.MethodB();
    }
}